<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
</head>

<body>
    <div class="container">
        <a href="/" class="btn btn-default">返回首页</a>
        <h2>博客详情页面</h2>
        <h3>文章标题:</h3>
        <p class="bg-success">{{ blog.title }}</p>
        <h3>文章内容:</h3>
        <p class="bg-primary">{{ blog.content}}</p>
        <p><a href="/edit?id={{@ blog._id}}" class="btn btn-success">修改数据</a></p>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
</body>

</html>